<div class="modal-header">
    <h3 class="modal-title">{{title}}</h3>
</div>
<div class="modal-body" >
    <form role="form">
		<div class="form-group">
			<label for="account">
				工号
			</label>
			<input type="text" class="form-control" ng-model="requester.account" id="account" placeholder="输入帐号">
		</div>
		<div class="form-group">
			<label for="name">
				姓名
			</label>
			<input type="text" class="form-control" ng-model="requester.name" id="name" placeholder="输入姓名">
		</div>
		<div class="form-group">
			<label for="gender">
				性别
			</label>
			<div class="clip-radio radio-primary">
				<input type="radio" id="female" ng-model="requester.gender" name="gender" value="男" checked="checked">
				<label for="female">
					男
				</label>
				<input type="radio" id="male"  ng-model="requester.gender" name="gender" value="女" checked="checked">
				<label for="male">
					女
				</label>
			</div>
		</div>
		<div class="form-group">
			<label for="email">
				Email
			</label>
			<input type="email" class="form-control" ng-model="requester.email" id="email" placeholder="输入email">
		</div>
		<div class="form-group">
			<label for="telephone">
				电话
			</label>
			<input type="text" class="form-control" ng-model="requester.mphone" placeholder="输入手机号"   id="mphone">
		</div>
		<div class="form-group">
			<label for="telephone">
				座机
			</label>
			<input type="text" class="form-control" ng-model="requester.telephone" id="telephone" placeholder="请输入座机号" >
		</div>
		<div class="form-group">
			<label for="dept">
				部门
			</label>
			<ui-select ng-model="requester.dept" theme="bootstrap" reset-search-input="true" search-enabled="true" append-to-body="true">
			    <ui-select-match placeholder="请选择部门...">{{$select.selected['dept']}}</ui-select-match>
			    <ui-select-choices repeat="option in depts | filter: $select.search" refresh="refreshDepts($select.search)" refresh-delay="0">
			    	<div ng-bind-html="option['dept'] | highlight: $select.search"></div>
			    </ui-select-choices>
			</ui-select>
			<!-- <label for="dept">
				部门
			</label>
			<input type="text" class="form-control" ng-model="requester.deptName" id="deptName" placeholder="请输入部门名称" > -->
		</div>
	</form>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" ng-click="ok()" translate="modal.button.OK">OK</button>
    <button class="btn btn-primary btn-o" ng-click="cancel()" translate="modal.button.CANCEL">Cancel</button>
</div>